#!/bin/bash
#command: sh netdrive.sh $command
login()
{
	echo "this is login function"
}

outlog()
{
	echo "logout function"
}

opt()
{
	echo "opt funtcion and get $1"
}

case $1 in
	login)
		login
		;;
	outlog)
		outlog
		;;
	opt)
		opt $2
		;;
	*)
		echo "usage: $0 {login|outlog|opt}"
		exit 1
esac
